(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/home/components/home-navigation-bar/index" ], {
    "2ed4": function(e, t, o) {
        var n = o("4ea4").default;
        Object.defineProperty(t, "__esModule", {
            value: !0
        }), t.default = void 0;
        var a = n(o("a34a")), i = n(o("ded3")), u = n(o("c973")), c = o("665c"), r = o("3be3"), d = o("48b8"), s = o("fc9e"), m = o("fd0e"), l = o("aa79"), f = n(o("b7c7")), h = n(o("5a0c")), p = o("05dc"), v = o("fc24"), g = o("0d12"), b = {
            setup: function(e, t) {
                var o = t.emit, n = "switchTipShowAmount", b = "switchTipShowDate", _ = (0, m.ref)(0), w = (0, 
                m.ref)(""), M = (0, c.useGetters)().frameCity, x = (0, c.useState)().appConfig, T = ((0, 
                m.computed)(function() {
                    var e, t;
                    return null !== g.homeLightTheme && void 0 !== g.homeLightTheme && g.homeLightTheme.value ? null === (e = x.value) || void 0 === e ? void 0 : e.home_market_icon_new : null === (t = x.value) || void 0 === t ? void 0 : t.home_market_icon;
                }), (0, m.computed)(function() {
                    return (0, s.overflowText)(M.value.city_name, 4);
                })), S = (0, m.computed)(function() {
                    var e = (0, c.useState)();
                    return 1 === (e.userVariablesCache, e.selectedService).value;
                }), y = ((0, d.throttle)(function() {
                    (0, r.jumpWelfareCenter)();
                }), (0, c.useGetters)()).commonStatisticsState;
                function k() {
                    l.showModeTip.value = !1, f.default.set(n, _.value), f.default.set(b, w.value);
                }
                return (0, m.onBeforeMount)((0, u.default)(a.default.mark(function e() {
                    var t, o;
                    return a.default.wrap(function(e) {
                        for (;;) switch (e.prev = e.next) {
                          case 0:
                            if (l.showModeTip.value) {
                                e.next = 2;
                                break;
                            }
                            return e.abrupt("return");

                          case 2:
                            return e.next = 4, f.default.get(n);

                          case 4:
                            return t = e.sent, _.value = Number(t) || 0, e.next = 8, f.default.get(b);

                          case 8:
                            o = e.sent, w.value = o || "", _.value < 5 && w.value !== (0, h.default)().format("YYYY-MM-DD") && (_.value += 1, 
                            w.value = (0, h.default)().format("YYYY-MM-DD"), setTimeout(function() {
                                k();
                            }, 7e3), (0, p.statistics)("homepage_operation_promote_expo", (0, i.default)((0, 
                            i.default)({}, y.value), {}, {
                                promote_mode: (0, l.getModeIndex)() + 1 === 1 ? 2 : 1
                            })));

                          case 11:
                          case "end":
                            return e.stop();
                        }
                    }, e);
                }))), {
                    modeName: l.modeName,
                    menuBarWidth: l.menuBarWidth,
                    showModeTip: l.showModeTip,
                    showModeSwitch: l.showModeSwitch,
                    showModeTipText: l.showModeTipText,
                    menuHeight: v.menuHeight,
                    menuHeightNumber: v.menuHeightNumber,
                    homeLightTheme: g.homeLightTheme,
                    cityName: T,
                    isSmallCarService: S,
                    goCityList: function() {
                        o("go-city-list");
                    },
                    refreshHomePage: function() {
                        o("city-change", {
                            cityChange: !0
                        });
                    },
                    onModeTipClick: function() {
                        (0, l.startModeRotateAnimation)(), l.mode.value = l.Mode.Normal, k(), (0, p.statistics)("homepage_operation_promote_click", (0, 
                        i.default)((0, i.default)({}, y.value), {}, {
                            promote_mode: (0, l.getModeIndex)() + 1 === 1 ? 2 : 1
                        })), (0, p.statistics)("operation_mode_switch", {
                            mode_before: (0, l.getModeIndex)(l.Mode.Simple) + 1,
                            mode_after: (0, l.getModeIndex)(l.Mode.Normal) + 1,
                            frame_city: M.value.city_name,
                            switch_way: "导流气泡"
                        });
                    },
                    handleClickSwitch: function() {
                        (0, l.openModeSwitch)(), k(), (0, p.statistics)("homepage_operation_mode_click", (0, 
                        i.default)({}, y.value));
                    }
                };
            }
        };
        b.components = Object.assign({
            CityChangeTips: function() {
                o.e("pages/home/components/home-navigation-bar/city-change-tips").then(function() {
                    return resolve(o("755a"));
                }.bind(null, o)).catch(o.oe);
            },
            PopupToast: function() {
                o.e("components/popup-toast/index").then(function() {
                    return resolve(o("4a19"));
                }.bind(null, o)).catch(o.oe);
            }
        }, b.components);
        var _ = b;
        t.default = _;
    },
    5126: function(e, t, o) {},
    a2e2: function(e, t, o) {
        var n = o("5126");
        o.n(n).a;
    },
    af0f: function(e, t, o) {
        o.d(t, "b", function() {
            return n;
        }), o.d(t, "c", function() {
            return a;
        }), o.d(t, "a", function() {});
        var n = function() {
            this.$createElement;
            this._self._c;
        }, a = [];
    },
    e6a4: function(e, t, o) {
        o.r(t);
        var n = o("af0f"), a = o("e7ea");
        for (var i in a) [ "default" ].indexOf(i) < 0 && function(e) {
            o.d(t, e, function() {
                return a[e];
            });
        }(i);
        o("a2e2");
        var u = o("f0c5"), c = Object(u.a)(a.default, n.b, n.c, !1, null, "072cae14", null, !1, n.a, void 0);
        t.default = c.exports;
    },
    e7ea: function(e, t, o) {
        o.r(t);
        var n = o("2ed4"), a = o.n(n);
        for (var i in n) [ "default" ].indexOf(i) < 0 && function(e) {
            o.d(t, e, function() {
                return n[e];
            });
        }(i);
        t.default = a.a;
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/home/components/home-navigation-bar/index-create-component", {
    "pages/home/components/home-navigation-bar/index-create-component": function(e, t, o) {
        o("543d").createComponent(o("e6a4"));
    }
}, [ [ "pages/home/components/home-navigation-bar/index-create-component" ] ] ]);